package com.ruoyi.store.api;

import com.ruoyi.common.core.constant.ServiceNameConstants;
import com.ruoyi.common.core.domain.R;
import com.ruoyi.system.api.domain.store.StockOut;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author wangenhao
 * @interfaceName RemoteStockOutService
 * @description
 * @date 2024-11-14 上午9:58
 */
@FeignClient(contextId = "remoteStockOutService", value = ServiceNameConstants.STORE_SERVICE)
public interface RemoteStockOutService {

    @GetMapping("/stockOut/info/byStockOutCode/{stockOutCode}")
    public R<StockOut> getInfoByStockOutCode(@PathVariable("stockOutCode") String stockOutCode);
}
